package router

import (
	"duoke/controller/mp/mpYoga"
	"github.com/gin-gonic/gin"
)

func LoadYoga(r *gin.Engine) {
	// 不需要登录授权的
	miniRouter1 := r.Group("mp/yoga")
	{
		miniRouter1.POST("school_timetable/group_class", mpYoga.SchoolTimetable.GroupClass)
		miniRouter1.POST("school_timetable/teacher", mpYoga.SchoolTimetable.Teacher)
		miniRouter1.POST("group_class/infos", mpYoga.GroupClass.Infos)
		miniRouter1.POST("school_timetable/list", mpYoga.SchoolTimetable.List)
	}
}
